package anatex.freequestions;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import anatex.freequestions.Question;
import javax.persistence.ManyToOne;
import javax.validation.constraints.Size;

@RooJavaBean
@RooToString
@RooEntity
public class Answer {

    @ManyToOne
    private Question questionId;
    @Size(max = 10000)
    private String answer;

    private Integer pointsGiven;
}
